﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace SYH178Model
{
   public  class User_manager
    {
        public User_manager()
        { }
        #region Model
        private int _id;
        private string _loginname = "";
        private string _password = "";
        private int _role = 0;
        private int _status;
        private DateTime _createtime = DateTime.Now;
        /// <summary>
        /// 用户管理表（Id用户管理编号）
        /// </summary>
        public int Id
        {
            set { _id = value; }
            get { return _id; }
        }
        /// <summary>
        /// 用户名
        /// </summary>
        public string LoginName
        {
            set { _loginname = value; }
            get { return _loginname; }
        }
        /// <summary>
        /// 密码
        /// </summary>
        public string PassWord
        {
            set { _password = value; }
            get { return _password; }
        }
        /// <summary>
        /// 角色
        /// </summary>
        public int Role
        {
            set { _role = value; }
            get { return _role; }
        }
        /// <summary>
        /// 状态 -1关闭 0待审核 1通过 2拒绝
        /// </summary>
        public int status
        {
            set { _status = value; }
            get { return _status; }
        }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateTime
        {
            set { _createtime = value; }
            get { return _createtime; }
        }
        #endregion Model
    }
}
